public class  sorterMain
{
	public static void main (String[] args)
	{
		String[] B = { "민규", "해리", "재원", "보혜"};
		comparator stringComp = new Stringcomparator();
		sorter2.sort(B, stringComp);
		System.out.print("sorted: " + B[0]);
		for(int i = 1; i < B.length; i++)
		{
			System.out.print(" , " + B[i]);
		}
		System.out.println();

		Integer[] C = {new Integer(3), new Integer(1),
			 new Integer(4), new Integer(2)};
		comparator integerComp = new Integercomparator();
		sorter2.sort(C, integerComp);
		System.out.printf("sorted: " + C[0]);
		for(int j = 1; j < C.length; j++)
		{
			System.out.print(" , " + C[j]);
		}
		System.out.println();
	}
}
